<template>
  <span>
    <td>{{ name }}:</td>
    <td colspan="colSpan">
      <slot></slot>
    </td>
  </span>
</template>

<script>
export default {
  name: 'EsItem',
  props: {
    name: {
      type: String
    },
    colSpan: {
      type: String,
      default: "1"
    }
  },
  methods: {

  },
}
</script>

<style scoped>
  .es-button {
    height: 20px;
    line-height: 6px;
    border: 1px solid #6979f8;
    background: #fff;
    color: #6979f8;
    padding: 6px 18px;
    font-weight: 600;
    font-family: 幼圆;
    font-size: 12px;
    border-radius: 2px;
    cursor: pointer;
  }

  .es-button-disabled {
    color: #b2b7e0;
  }

  .es-button:hover {
    background: #eaf9ff;
  }


</style>
